<section id="content">
    <div style="background-color: #fff">
        <aside>
            <header><?php echo __('thumbnail') ?></header>
            <div class="aside_white_box">
                <div id="project_miniature"><?php if ($project->thumbnail):?>
                                                <img src="<?php echo $project->thumbnail ?>" alt="thumbnail"/>
                                                <a href="/project/delete_thumbnail" id="delete_thumbnail" class="delete_photo">x</a>
                                                <p style="display:none"><?php echo __('to insert a thumbnail, select option "<strong>create thumbnail</strong>" in loaded image container') ?></p>
                                            <?php else: ?>
                                                <p><?php echo __('to insert a thumbnail, select option "<strong>create thumbnail</strong>" in loaded image container') ?></p>
                                            <?php endif ?>
                </div>
            </div>
            <header><?php echo __('tags') ?></header>
             <div style="padding-top: 0px; padding-bottom: 0px" class="aside_white_box">
                <?php echo Form::input('tags', $tags, array('id'    => 'tags',
                                                           'class' => 'standard_text_form',
                                                           'data-suggestion' => __('Type to receive suggestion'),
                                                           'style' => 'float: none; margin-bottom: 8px')) ?> 
                 <div style="clear: both"></div>
            </div>
            <header><?php echo __('licence') ?></header>
            <div style="padding-top: 0px;padding-bottom: 9px" class="aside_white_box">
                <?php echo Form::select('licence', $licences, $licence_id, array('id'    => 'licence',
                                                                                 'class' => 'standard_select_form',
                                                                                 'style' => 'float: none')) ?> 
            </div>
        </aside>
        <section>
            <header id="project_header"><?php echo $project->title ?>
                <div style="float: right; margin-top: -5px">
                    <a href="#" id="btn_publish" class="button_header" style="float:left; margin-left: 20px; <?php if($is_all_published) echo 'display:none' ?>"><span><?php echo __('publish updates') ?></span></a> 
                    <a href="#" class="button_header button_close" style="float:left; margin-left: 20px;"><div style="background-image: url('/public/application/images/icon_close.png')"></div></a> 
                </div>
            </header>
            <div id="project_content">
                <ul class="project_list">
                    <li>
                        <?php echo $project->description ?>   
                    </li>
                    <?php echo $containers ?>

                </ul>
                <ul class="header_menu">
                    <li><a href="#" class="active" id="btn_project_text"><?php echo __('text') ?></a></li>
                    <li><a href="#" id="btn_project_embed"><?php echo __('embed') ?></a></li>
                    <li><a href="#" id="btn_project_photo"><?php echo __('photo') ?></a></li>
                </ul>
                <div class="tab_project_text">
                    <div id="project_button_panel">
                        <a id="bbcode_bold" class="button_grey"><img src="/public/application/images/icon_bbcode_bold.png" alt="" /></a> 
                        <a id="bbcode_ul" class="button_grey"><img src="/public/application/images/icon_bbcode_ul.png" alt="" /></a> 
                        <a id="bbcode_ol" class="button_grey"><img src="/public/application/images/icon_bbcode_ol.png" alt="" /></a> 
                        <a id="bbcode_code" class="button_grey"><img src="/public/application/images/icon_bbcode_code.png" alt="" /></a>
                    </div>
                    <div style="clear:both"></div>
                    <div class="project_form standard_textarea_form" >
                    <?php echo Form::textarea('text', null, array('id'          => 'container_text_value')) ?>
                     <?php echo Form::submit('add', __('Add text'), array('id' => 'btn_add_text_container' ,'class' => 'button_blue')) ?>
                    </div> 
                </div>
                <div class="tab_project_embed" style="display: none">
               
                    <div class="embed_info"><?php echo __('You can paste links from YouTube, Vimeo and Soundcloud. Resources will be automatically detected.') ?></div>
                       
                     <?php echo Form::input('embed', null, array('id'          => 'container_embed_value',
                                                                   'class'       => 'standard_text_form project_form',
                            
                                                                   'placeholder' => __('Paste your link here').'...')) ?>

                     <div id="container_embed_preview"></div>
                     <div id="container_embed_preview_action">
                        <?php echo Form::submit('add', __('Add link'), array('id' => 'btn_add_embed_container' ,'class' => 'button_blue', 'style' => '')) ?>
                     </div>
                     <div style ="clear: right"></div>
                   
                </div>
                <div class="tab_project_photo" style="display: none"><div id="project_photo" rel="<?php echo __('Select photo') ?>"></div></div>
              
            </div>
        </section>
        <div style="clear:left"></div>
    </div>
    <div style="clear: both;"></div>
</section>
<footer style="position:relative; height: 30px; top: 60px;"></footer>